<script>
	import wx from 'weixin-js-sdk';
	export default {
		onLaunch: function() {
			// uni.request({
			// 	url: `http://dingcan.kenleader.com/api/index/getWxConfig?url=dingcan.kenleader.com/store/index/index`,
			// 	dataType: 'JSON',
			// 	success: (res) => {
			// 		const { appId, nonceStr, timestamp, signature } = res.data.data;
			// 		wx.config({
			// 			debug: true, //开启调试模式
			// 			appId: config.appId,
			// 			timestamp: config.timestamp,
			// 			nonceStr: config.nonceStr,
			// 			signature: config.signature,
			// 			jsApiList: ['qrCode'],
			// 		})
			// 	}
			// })
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>